<?php


	if(isset($_REQUEST['first_name'])){
	$firstname = $_REQUEST['first_name'];
	$lastname = $_REQUEST['last_name'];
	$email = $_REQUEST['email'];
	$identity = $_REQUEST['identity'];
	$mode = $_REQUEST['mode'];
	}else { $firstname = $lastname = $email = $mode = ''; }
	if(isset($_REQUEST['identifier']))
	{
	$identifier = $_REQUEST['identifier'];
	}
	else
	{
	$identifier = '';
	}
	$PageTitle = 'Login';
	include('includes/header.php') 
?>
	
		<div id="accordion">
			<div>
				<h3><a href="#1">Login</a></h3>
				<div>
					
				</div>
			</div>
			<div>
				<h3><a href="#2">Edit Profile</a></h3>
				<div>
					<form name="create_account" method="post" action="create-account.php">
					<?php echo $identifier ?>
						First Name<br><input name="firstname" type="text" value="<?php echo $firstname?>"><br>
						Last Name<br><input name="lastname" type="text" value="<?php echo $lastname?>"><br>
						Email <br><input name="email" type="text" value="<?php echo $email?>" ><br>
						Password <br><input name="password" type="password"><br>
						<input type="button" onclick="document.create_account.submit();">
					</form>
				</div>
			</div>
		</div>
<?php include('includes/footer.html')?>
	</body>
</html>